package com.tao.ifdemo2;

import java.util.Scanner;

public class IfDemo5 {
    public static void main(String[] args) {
        // 定义月份整数变量
        int mount;
        Scanner input = new Scanner(System.in);
        mount = input.nextInt();
        if (mount >= 3 && mount <= 5) { // 春季3 4 5
            System.out.println("春季");
        } else if (mount >= 6 && mount <= 8) { // 夏季6 7 8
            System.out.println("夏季");
        } else if (mount >= 9 && mount <= 11) { // 秋季9 10 11
            System.out.println("秋季");
        } else if (mount == 12 || mount == 1 || mount == 2) { // 冬季12 1 2
            System.out.println("冬季");
        } else {
            System.err.println("输入的数据有误");
        }
    }
}
